<%-- 
    Document   : newPatientConfiramtion
    Created on : Apr 5, 2012, 6:27:26 AM
    Author     : Anil
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" session="true"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>New Patient Confirmation</title>
    </head>
    <body>
        
        <jsp:useBean id="newPatient" class="PHS.Patient" scope="page">
            <jsp:setProperty name="newPatient" property="*"/>
            <%
                int pid=0;
                if(pid==0)
                    {
                   pid= newPatient.newPatientInsert(); ;
                 out.println("Generated PatientID is:"+pid);
                }
           %>
           
        </jsp:useBean>
    </body>
</html>
